package com.lbh.structures.components.physics;

import com.alibaba.fastjson.annotation.JSONField;
import com.lbh.structures.components.Component;
import com.lbh.structures.components.RequireComponent;
import com.lbh.structures.math.Vector3;

/***
 * project:JRuntime
 * package:com.lbh.structures.components.physics
 *
 * @author user:lenovo QQ:1601078366
 * @date 2021/10/21 3:09
 * @version V1.0
 */
@RequireComponent(Rigidbody.class)
public class BoxCollider extends Component {

    @JSONField(name = "type")
    public Class<BoxCollider> type = BoxCollider.class;
    @JSONField(name = "scale")
    public Vector3 scale;

    public BoxCollider(){
        scale = Vector3.zero.clone();
    }

    @Override
    public void start() {

    }

    @Override
    public void update() {

    }
}
